package com.maistars.spider.service.render;

import com.maistars.spider.common.exception.TopicSpiderException;
import com.maistars.spider.service.domain.render.PageRequest;
import com.maistars.spider.service.domain.render.PageResponse;

/**
 * 网页渲染器：负责做渲染，将请求渲染成html
 * @author dhr
 * @date 2021/10/11 下午2:02
 */
public interface PageRender {

    PageResponse renderPage(PageRequest pageRequest) throws TopicSpiderException;

}
